package com.baoji.auth.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: ghm
 * @Date: 2021/09/24/17:45
 * @Description:
 */
@RestController
@Api(tags = "用户控制器")
public class UserController {

    @ApiImplicitParam(name = "token", required = true, paramType = "header", dataType = "String")
    @GetMapping("/data")
    private String data() {
        return "this is data.";
    }
}
